package cn.com.w.bootdemo.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/hello")
public class HelloController {

    Logger logger = LoggerFactory.getLogger(getClass());
    @GetMapping("/")
    public String hello(){
        logger.info("hello world !!!");
        return "hello word boot web!";
    }



}
